/*
 * @Author: cgl
 * @Date: 2023-04-20 09:49:21
 * @LastEditors: cgl
 * @LastEditTime: 2023-04-24 15:43:25
 * @FilePath: \public-health-emergencies-fed:\radiation-hygiene-fe\src\api\person\personnelExamination.js
 * @Description: 
 * 
 * Copyright (c) 2023 by cgl/微盛信息产业有限公司, All Rights Reserved. 
 */
import request from '@/utils/request'

// 查询委托单位放射工作人员体检信息列表
export function entrustWorkingPersonnelExaminationList(params) {
  return request({
    url: '/basic/entrust/workingPersonnelExamination/list',
    method: 'get',
    params,
  })
}
// 导出委托单位放射工作人员体检信息列表
export function entrustWorkingPersonnelExaminationExport(data) {
  return request({
    url: `/basic/entrust/workingPersonnelExamination/export`,
    method: "post",
    data,
  });
}
// 获取委托单位放射工作人员体检信息详细信息
export function entrustWorkingPersonnelExaminationDetail(examinationId) {
  return request({
    url: '/basic/entrust/workingPersonnelExamination/getInfo/' + examinationId,
    method: 'get'
  })
}
// 新增委托单位放射工作人员体检信息
export function entrustWorkingPersonnelExaminationAdd(data) {
  return request({
    url: `/basic/entrust/workingPersonnelExamination/add`,
    method: "post",
    data,
  });
}
// 修改委托单位放射工作人员体检信息
export function entrustWorkingPersonnelExaminationEdit(data) {
  return request({
    url: '/basic/entrust/workingPersonnelExamination/edit',
    method: 'post',
    data,
  })
}
// 删除委托单位放射工作人员体检信息
export function entrustWorkingPersonnelExaminationDelete(examinationIds) {
  return request({
    url: '/basic/entrust/workingPersonnelExamination/remove/' + examinationIds,
    method: 'get'
  })
}